package com.yjz.middleware.redis;

import java.io.Serializable;

public class User implements Serializable {
  /**
   * 用户ID
   */
  private Long id;

  /**
   * 用户名
   */
  private String name;

  /**
   * 用户年龄
   */
  private Integer age;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getAge() {
    return age;
  }

  public void setAge(Integer age) {
    this.age = age;
  }

  @Override
  public String toString() {
    return super.toString();
  }
}
